Front matter

# clean up R environment
rm(list = ls())

# load all packages here



# user-defined functions here (if any)
# data intake

Chapter Notes

Section 5.1

  • include all section headings even if there isn’t any code

Section 5.1.1

  • each code chunk should include a comment with page reference indicating where the code is found in the book.
  • include separate code chunks for each result shown in the book
  • it’s okay to have two different code chunks with the same page reference if that’s how they appear in the book.
# p. 91
LS0tCnRpdGxlOiAiVGVtcGxhdGU6IFNUQVQgMzgwIFByb2dyYW1taW5nIE5vdGVib29rIgphdXRob3I6ICJOYW1lIgpkYXRlOiAiRHVlOiAiCm91dHB1dDogaHRtbF9ub3RlYm9vawotLS0KCiMgRnJvbnQgbWF0dGVyCgpgYGB7ciBlY2hvPVRSVUUsIG1lc3NhZ2U9RkFMU0V9CiMgY2xlYW4gdXAgUiBlbnZpcm9ubWVudApybShsaXN0ID0gbHMoKSkKCiMgbG9hZCBhbGwgcGFja2FnZXMgaGVyZQoKCgojIHVzZXItZGVmaW5lZCBmdW5jdGlvbnMgaGVyZSAoaWYgYW55KQoKCmBgYAoKYGBge3IgZWNobz1UUlVFLCBtZXNzYWdlPUZBTFNFfQojIGRhdGEgaW50YWtlCgoKYGBgCgoKIyBDaGFwdGVyIE5vdGVzCgotIChPcHRpb25hbCkgRmVlbCBmcmVlIHRvIGluY2x1ZGUgYWRkaXRpb25hbCBub3RlcyBhYm91dCB0aGUgY2hhcHRlciBoZXJlIGlmIHlvdSBsaWtlCgojIyBTZWN0aW9uIDUuMQoKLSBpbmNsdWRlIGFsbCBzZWN0aW9uIGhlYWRpbmdzIGV2ZW4gaWYgdGhlcmUgaXNuJ3QgYW55IGNvZGUKCiMjIyBTZWN0aW9uIDUuMS4xCgotIGVhY2ggY29kZSBjaHVuayBzaG91bGQgaW5jbHVkZSBhIGNvbW1lbnQgd2l0aCBwYWdlIHJlZmVyZW5jZSBpbmRpY2F0aW5nIHdoZXJlIHRoZSBjb2RlIGlzIGZvdW5kIGluIHRoZSBib29rLgotIGluY2x1ZGUgc2VwYXJhdGUgY29kZSBjaH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